Skip to content

fix: FS- beta treadmills discover only FTMS service (0x1826) - #4815

Open
cagnulein wants to merge 1 commit into
masterfrom
worktree-fix+fs-beta-only-ftms-service
Open

fix: FS- beta treadmills discover only FTMS service (0x1826)#4815
cagnulein wants to merge 1 commit into
masterfrom
worktree-fix+fs-beta-only-ftms-service

Conversation

@cagnulein

Copy link
Copy Markdown
Owner

Summary

Closes #4808

Devices handled by horizontreadmill that start with FS- and contain (beta) in the name were performing a full BLE service discovery, which could cause connection issues. This PR limits discovery to the FTMS service (0x1826) only for these devices.

  • Add FS_BETA_TREADMILL flag in horizontreadmill.h
  • Set the flag in deviceDiscovered() when the device name starts with "FS-" and contains "(beta)"
  • In serviceScanDone(), skip all services except 0x1826 when FS_BETA_TREADMILL is true (same pattern already used for DOMYOS-TC devices)

Test plan

  • Connect a device whose name starts with FS- and contains (beta) and verify only service 0x1826 is discovered in the debug log
  • Connect a regular FS- device (without (beta)) and verify full service discovery still happens
  • Verify no regression on other treadmill types handled by horizontreadmill

🤖 Generated with Claude Code

Devices starting with "FS-" and containing "(beta)" in the name were
triggering full BLE service discovery, which caused issues. Limit
service discovery to the FTMS service (0x1826) only for these devices,
matching the existing workaround used for DOMYOS-TC.

Fixes #4808

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@stale

stale Bot commented Jul 30, 2026

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the wontfix This will not be worked on label Jul 30, 2026
@stale stale Bot closed this Aug 7, 2026
@cagnulein cagnulein reopened this Aug 8, 2026
@stale stale Bot removed the wontfix This will not be worked on label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trinfit incline t15 pro

1 participant